<?php
    // +----------------------------------------------------------------------
    // | 海豚PHP框架 [ DolphinPHP ]
    // +----------------------------------------------------------------------
    // | 版权所有 2016~2017 河源市卓锐科技有限公司 [ http://www.zrthink.com ]
    // +----------------------------------------------------------------------
    // | 官方网站: http://dolphinphp.com
    // +----------------------------------------------------------------------
    // | 开源协议 ( http://www.apache.org/licenses/LICENSE-2.0 )
    // +----------------------------------------------------------------------

    /**
     * 菜单信息
     */
    return [
        [
            'title'       => '商城',
            'icon'        => 'fa fa-fw fa-newspaper-o',
            'url_type'    => 'module_admin',
            'url_value'   => 'store/category/lists',
            'url_target'  => '_self',
            'online_hide' => 0,
            'sort'        => 100,
            'child'       => [
                [
                    'title'       => '商品管理',
                    'icon'        => 'fa fa-fw fa-folder-open-o',
                    'url_type'    => 'module_admin',
                    'url_value'   => '',
                    'url_target'  => '_self',
                    'online_hide' => 0,
                    'sort'        => 100,
                    'child'       => [
                        [
                            'title'       => '商品分类',
                            'icon'        => 'fa fa-fw fa-tachometer',
                            'url_type'    => 'module_admin',
                            'url_value'   => 'store/category/lists',
                            'url_target'  => '_self',
                            'online_hide' => 0,
                            'sort'        => 100,
                            'child'       => [
                                [
                                    'title'       => '添加',
                                    'icon'        => '',
                                    'url_type'    => 'module_admin',
                                    'url_value'   => 'store/category/add',
                                    'url_target'  => '_self',
                                    'online_hide' => 0,
                                    'sort'        => 100,
                                ],
                                [
                                    'title'       => '编辑',
                                    'icon'        => '',
                                    'url_type'    => 'module_admin',
                                    'url_value'   => 'store/category/edit',
                                    'url_target'  => '_self',
                                    'online_hide' => 0,
                                    'sort'        => 100,
                                ],
                                [
                                    'title'       => '删除',
                                    'icon'        => '',
                                    'url_type'    => 'module_admin',
                                    'url_value'   => 'store/category/delete',
                                    'url_target'  => '_self',
                                    'online_hide' => 0,
                                    'sort'        => 100,
                                ],
                                [
                                    'title'       => '启用',
                                    'icon'        => '',
                                    'url_type'    => 'module_admin',
                                    'url_value'   => 'store/category/enable',
                                    'url_target'  => '_self',
                                    'online_hide' => 0,
                                    'sort'        => 100,
                                ],
                                [
                                    'title'       => '禁用',
                                    'icon'        => '',
                                    'url_type'    => 'module_admin',
                                    'url_value'   => 'store/category/disable',
                                    'url_target'  => '_self',
                                    'online_hide' => 0,
                                    'sort'        => 100,
                                ],
                                [
                                    'title'       => '快速编辑',
                                    'icon'        => '',
                                    'url_type'    => 'module_admin',
                                    'url_value'   => 'store/category/quickedit',
                                    'url_target'  => '_self',
                                    'online_hide' => 0,
                                    'sort'        => 100,
                                ],
                            ],
                        ],
                        [
                            'title'       => '商品列表',
                            'icon'        => 'fa fa-fw fa-plus',
                            'url_type'    => 'module_admin',
                            'url_value'   => 'store/goods/lists',
                            'url_target'  => '_self',
                            'online_hide' => 0,
                            'sort'        => 100,
                            'child'       => [
                                [
                                    'title'       => '添加',
                                    'icon'        => '',
                                    'url_type'    => 'module_admin',
                                    'url_value'   => 'store/goods/add',
                                    'url_target'  => '_self',
                                    'online_hide' => 0,
                                    'sort'        => 100,
                                ],
                                [
                                    'title'       => '编辑',
                                    'icon'        => '',
                                    'url_type'    => 'module_admin',
                                    'url_value'   => 'store/goods/edit',
                                    'url_target'  => '_self',
                                    'online_hide' => 0,
                                    'sort'        => 100,
                                ],
                                [
                                    'title'       => '删除',
                                    'icon'        => '',
                                    'url_type'    => 'module_admin',
                                    'url_value'   => 'store/goods/delete',
                                    'url_target'  => '_self',
                                    'online_hide' => 0,
                                    'sort'        => 100,
                                ],
                                [
                                    'title'       => '启用',
                                    'icon'        => '',
                                    'url_type'    => 'module_admin',
                                    'url_value'   => 'store/goods/enable',
                                    'url_target'  => '_self',
                                    'online_hide' => 0,
                                    'sort'        => 100,
                                ],
                                [
                                    'title'       => '禁用',
                                    'icon'        => '',
                                    'url_type'    => 'module_admin',
                                    'url_value'   => 'store/goods/disable',
                                    'url_target'  => '_self',
                                    'online_hide' => 0,
                                    'sort'        => 100,
                                ],
                                [
                                    'title'       => '快速编辑',
                                    'icon'        => '',
                                    'url_type'    => 'module_admin',
                                    'url_value'   => 'store/goods/quickedit',
                                    'url_target'  => '_self',
                                    'online_hide' => 0,
                                    'sort'        => 100,
                                ],
                            ],
                        ],
                        [
                            'title'       => '幻灯片',
                            'icon'        => 'fa fa-fw fa-plus',
                            'url_type'    => 'module_admin',
                            'url_value'   => 'store/slider/lists',
                            'url_target'  => '_self',
                            'online_hide' => 0,
                            'sort'        => 100,
                            'child'       => [
                                [
                                    'title'       => '添加',
                                    'icon'        => '',
                                    'url_type'    => 'module_admin',
                                    'url_value'   => 'store/slider/add',
                                    'url_target'  => '_self',
                                    'online_hide' => 0,
                                    'sort'        => 100,
                                ],
                                [
                                    'title'       => '编辑',
                                    'icon'        => '',
                                    'url_type'    => 'module_admin',
                                    'url_value'   => 'store/slider/edit',
                                    'url_target'  => '_self',
                                    'online_hide' => 0,
                                    'sort'        => 100,
                                ],
                                [
                                    'title'       => '删除',
                                    'icon'        => '',
                                    'url_type'    => 'module_admin',
                                    'url_value'   => 'store/slider/delete',
                                    'url_target'  => '_self',
                                    'online_hide' => 0,
                                    'sort'        => 100,
                                ],
                                [
                                    'title'       => '启用',
                                    'icon'        => '',
                                    'url_type'    => 'module_admin',
                                    'url_value'   => 'store/slider/enable',
                                    'url_target'  => '_self',
                                    'online_hide' => 0,
                                    'sort'        => 100,
                                ],
                                [
                                    'title'       => '禁用',
                                    'icon'        => '',
                                    'url_type'    => 'module_admin',
                                    'url_value'   => 'store/slider/disable',
                                    'url_target'  => '_self',
                                    'online_hide' => 0,
                                    'sort'        => 100,
                                ],
                                [
                                    'title'       => '快速编辑',
                                    'icon'        => '',
                                    'url_type'    => 'module_admin',
                                    'url_value'   => 'store/region/quickedit',
                                    'url_target'  => '_self',
                                    'online_hide' => 0,
                                    'sort'        => 100,
                                ],
                            ],
                        ],
                        [
                            'title'       => '用户地址',
                            'icon'        => 'fa fa-fw fa-plus',
                            'url_type'    => 'module_admin',
                            'url_value'   => 'store/address/lists',
                            'url_target'  => '_self',
                            'online_hide' => 0,
                            'sort'        => 100,
                            'child'       => [
                                [
                                    'title'       => '添加',
                                    'icon'        => '',
                                    'url_type'    => 'module_admin',
                                    'url_value'   => 'store/address/add',
                                    'url_target'  => '_self',
                                    'online_hide' => 0,
                                    'sort'        => 100,
                                ],
                                [
                                    'title'       => '编辑',
                                    'icon'        => '',
                                    'url_type'    => 'module_admin',
                                    'url_value'   => 'store/address/edit',
                                    'url_target'  => '_self',
                                    'online_hide' => 0,
                                    'sort'        => 100,
                                ],
                                [
                                    'title'       => '删除',
                                    'icon'        => '',
                                    'url_type'    => 'module_admin',
                                    'url_value'   => 'store/address/delete',
                                    'url_target'  => '_self',
                                    'online_hide' => 0,
                                    'sort'        => 100,
                                ],
                                [
                                    'title'       => '启用',
                                    'icon'        => '',
                                    'url_type'    => 'module_admin',
                                    'url_value'   => 'store/address/enable',
                                    'url_target'  => '_self',
                                    'online_hide' => 0,
                                    'sort'        => 100,
                                ],
                                [
                                    'title'       => '禁用',
                                    'icon'        => '',
                                    'url_type'    => 'module_admin',
                                    'url_value'   => 'store/address/disable',
                                    'url_target'  => '_self',
                                    'online_hide' => 0,
                                    'sort'        => 100,
                                ],
                                [
                                    'title'       => '快速编辑',
                                    'icon'        => '',
                                    'url_type'    => 'module_admin',
                                    'url_value'   => 'store/address/quickedit',
                                    'url_target'  => '_self',
                                    'online_hide' => 0,
                                    'sort'        => 100,
                                ],
                            ],
                        ],
                    ],

                ],
                [
                    'title'       => '销售管理',
                    'icon'        => 'fa fa-fw fa-th-list',
                    'url_type'    => 'module_admin',
                    'url_value'   => '',
                    'url_target'  => '_self',
                    'online_hide' => 0,
                    'sort'        => 100,
                    'child'       => [

                        [
                            'title'       => '订单管理',
                            'icon'        => 'fa fa-fw fa-plus',
                            'url_type'    => 'module_admin',
                            'url_value'   => 'store/order/lists',
                            'url_target'  => '_self',
                            'online_hide' => 0,
                            'sort'        => 100,
                            'child'       => [
                                [
                                    'title'       => '审核',
                                    'icon'        => '',
                                    'url_type'    => 'module_admin',
                                    'url_value'   => 'store/order/send',
                                    'url_target'  => '_self',
                                    'online_hide' => 0,
                                    'sort'        => 100,
                                ],  [
                                    'title'       => '编辑',
                                    'icon'        => '',
                                    'url_type'    => 'module_admin',
                                    'url_value'   => 'store/order/edit',
                                    'url_target'  => '_self',
                                    'online_hide' => 0,
                                    'sort'        => 100,
                                ],
                                [
                                    'title'       => '删除',
                                    'icon'        => '',
                                    'url_type'    => 'module_admin',
                                    'url_value'   => 'store/order/delete',
                                    'url_target'  => '_self',
                                    'online_hide' => 0,
                                    'sort'        => 100,
                                ],
                                [
                                    'title'       => '启用',
                                    'icon'        => '',
                                    'url_type'    => 'module_admin',
                                    'url_value'   => 'store/order/enable',
                                    'url_target'  => '_self',
                                    'online_hide' => 0,
                                    'sort'        => 100,
                                ],
                                [
                                    'title'       => '禁用',
                                    'icon'        => '',
                                    'url_type'    => 'module_admin',
                                    'url_value'   => 'store/order/disable',
                                    'url_target'  => '_self',
                                    'online_hide' => 0,
                                    'sort'        => 100,
                                ],
                                [
                                    'title'       => '快速编辑',
                                    'icon'        => '',
                                    'url_type'    => 'module_admin',
                                    'url_value'   => 'store/order/quickedit',
                                    'url_target'  => '_self',
                                    'online_hide' => 0,
                                    'sort'        => 100,
                                ],
                            ],
                        ],
                        [
                            'title'       => '物流',
                            'icon'        => 'fa fa-fw fa-plus',
                            'url_type'    => 'module_admin',
                            'url_value'   => 'store/logistics/lists',
                            'url_target'  => '_self',
                            'online_hide' => 0,
                            'sort'        => 100,
                            'child'       => [
                                [
                                    'title'       => '发货',
                                    'icon'        => '',
                                    'url_type'    => 'module_admin',
                                    'url_value'   => 'store/logistics/send',
                                    'url_target'  => '_self',
                                    'online_hide' => 0,
                                    'sort'        => 100,
                                ],
                            ],
                        ],
                    ],
                ],

            ],
        ],
    ];
